/**
 * @description: 国际酒店连锁
 * @author: yuanjianpeng5
 * @createdate: 2020-01-08 17:04
 * @lastdate:
 */

package expedia;

import com.alibaba.fastjson.annotation.JSONField;
import lombok.Data;

import java.util.Map;

@Data
public class HotelChain {

    //数字标识符
    @JSONField(name = "id")
    private int id;

    //名称
    @JSONField(name = "name")
    private String name;

    //连锁品牌的映射
    @JSONField(name = "brands")
    private Map<String, HotelBrand> brands;
}